
jQuery(document).ready(function (e) {
    
    jQuery("textarea.ta_field").bind("input propertychange", function () {
        $jm.textareaAutoHeight(this);
    });
    jQuery("input[type='datetime']").bind("click",
        function () {
            //alert(this.getAttribute("readonly").toString());
            if (this.getAttribute("readonly") != "true")
                WdatePicker({el: this, dateFmt: this.getAttribute("dateFmt"), lang: 'zh-cn'});
        });
});